package com.manager.service;

import java.util.Date;

import com.manager.pojo.TbCommodity;
import com.manager.vo.TbUserEx;
/**
 * 
 * @Title:  StorageService.java     
 * @Description:    功能描述 
 * @author:      
 * @date:   2019年2月16日 下午4:59:06   
 * @version V1.0
 */
public interface StorageService {

	TbUserEx getStorageList();
	
	TbUserEx getStorageList(Integer page,Integer rows);
	
	TbUserEx getInLibraryList(Integer page,Integer rows)throws Exception;
	
	TbUserEx getOutLibraryList(Integer page,Integer rows)throws Exception;
	
	TbUserEx addStorage(TbCommodity tbCommodity)throws Exception;
	
	TbCommodity getTbCommodityById(Integer id);
	
	TbUserEx editStorage(TbCommodity tbCommodity)throws Exception;
	
	TbUserEx editExisStorage(TbCommodity tbCommodity)throws Exception;
	
	Boolean delStorage(Integer id)throws Exception;
	
	Boolean outStorage(TbCommodity tbCommodity)throws Exception;
	
	Boolean updataSetLessOrMany(TbCommodity tbCommodity)throws Exception;
	
	
	TbUserEx getLessList(Integer page,Integer rows);
	
	TbUserEx getManyList(Integer page,Integer rows)throws Exception;
	
	TbUserEx saveStorage(TbCommodity tbCommodity);
	
	TbCommodity getTbCommodityByName(String name)throws Exception;
	
	TbUserEx getStorageListByDateTime(Integer page,Integer rows,Date start,Date end);
	
	TbUserEx getStorageListByName(Integer page,Integer rows,String like);
	TbUserEx getStorageListByType(Integer page,Integer rows,String like);
	TbUserEx getStorageListBySKU(Integer page,Integer rows,String like);
	
	TbUserEx getStorageLists(Date start,Date end);
	
	
}
